CC=gcc
CFLAGS= -c -Wall -o 

all: server client

server:server_func.o server.o model.o 
	$(CC) $^ -lsqlite3 -o $@ 

server.o: server.c 
	$(CC) $^ $(CFLAGS) $@

server_func.o: server_func.c 
	$(CC) $^ $(CFLAGS)  $@

model.o: model.c
	$(CC) $^ $(CFLAGS)  $@

client:client_func.o client.o  
	$(CC) $^ -o $@

client.o: client.c 
	$(CC) $^ $(CFLAGS) $@

client_func.o: client_func.c 
	$(CC) $^ $(CFLAGS) $@

clean:
	$(RM) server client *.o a.out staff.db


# b1 注释llllll

# master 注释llllsssss


